package org.linlinjava.litemall.wx.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Description: TODO
 * @author: Destin
 * @date: 2021-11-08
 */
@Data
@ApiModel("绑定用户手机号")
public class BindPhoneDTO {

    @ApiModelProperty(value = "用户id", required = true)
    @NotBlank(message = "用户id不能为空")
    private Integer userId;

    @ApiModelProperty(value = "微信返回的encryptedData", required = true)
    @NotBlank(message = "encryptedData不能为空")
    private String encryptedData;

    @ApiModelProperty(value = "微信返回的iv", required = true)
    @NotBlank(message = "iv不能为空")
    private String iv;
}
